<?php
defined('_JEXEC') or die;
require_once 'Mobile_Detect.php';
$detect = new Mobile_Detect;
if ( $detect->isMobile() ) {
    include('default_mobile.php');
    return;
}
JHtml::_('behavior.keepalive');
JHtml::_('behavior.formvalidation');
?>
<style type="text/css">
#btnSubmit{
	display: block;text-indent: -9999px;margin-top: 8px;
	width: 85px;height: 31px;
	background: url(<?php echo JURI::root()?>templates/fitplan/src/images/imgButton.png) 0 -360px no-repeat;
}
dd{margin-left: 0}
</style>
<div class="wrapper">
	<div class="content" id="how-page">
	<h1 class="hd">Glemt din adgangskode?</h1>
		<div class="col-wrapper clearfix col-box" style="min-height:300px">
<div class="f-forgetpass">
<form id="user-registration" action="<?php echo JRoute::_('index.php?option=com_users&task=reset.request'); ?>" method="post" class="form-validate">

	<p><?php echo JText::_('COM_USERS_FIELD_PASSWORD_RESET_DESC'); ?></p>
	<input type="text" name="jform[email]" id="jform_email" value="Indtast din e-mail adresse" class="validate-username required" size="30" aria-required="true" required>

	<div>
		<a class="btnSend" onclick="$('#user-registration').submit()">Send</a>
		<button type="submit" class="validate" style="position: absolute;left:-9999px"><?php echo JText::_('JSUBMIT'); ?></button>
		<?php echo JHtml::_('form.token'); ?>
	</div>
</form>
</div>
		</div>
	</div>
</div>